package com.ruoyi.clerkBalance.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

@ApiModel
public class ClerkBalance extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 商户id */
    @Excel(name = "商户id")
    @ApiModelProperty(value = "商户id")
    private Long storeId;

    private Long storeUserId;

    /** 佣金*/
    private BigDecimal commission;

    /** 余额 */
    @Excel(name = "余额")
    @ApiModelProperty(value = "余额")
    private BigDecimal balance;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }

    public void setStoreUserId(Long storeUserId)
    {
        this.storeUserId = storeUserId;
    }
    public Long getStoreUserId()
    {
        return storeUserId;
    }

    public void setCommission(BigDecimal commission)
    {
        this.commission = commission;
    }
    public BigDecimal getCommission()
    {
        return commission;
    }

    public void setBalance(BigDecimal balance)
    {
        this.balance = balance;
    }

    public BigDecimal getBalance()
    {
        return balance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("storeId", getStoreId())
                .append("balance", getBalance())
                .append("updateTime", getUpdateTime())
                .toString();
    }

}
